package com.zmn.plat.common.dto.part;

import java.io.Serializable;
import java.util.Objects;

/**
 * 类描述： DUBBO配件入参对象,
 *
 * @author DaiZhichao
 * @version v1.0
 * @since 2018/10/24 10:41
 */
public class PartSkuDIO implements Serializable{

    /**
     * 配件名称&配件名称拼音|模糊查询
     */
    private String name;

    /**
     * 配件一级分类Id
     */
    private Integer categOneId;

    /**
     * 配件二级分类Id
     */
    private Integer categId;

    /**
     * 状态：1停用，2启用
     */
    private Short status;

    /**
     * 描述:页码，pageNum*y【首页为1】
     */
    private Integer pageNum;

    /**
     * 描述:每页数据量，对应 limit x,y中的y
     */
    private Integer pageSize;


    public String getName() {
        return Objects.isNull(this.name)?null: name.trim();
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCategOneId() {
        return categOneId;
    }

    public void setCategOneId(Integer categOneId) {
        this.categOneId = categOneId;
    }

    public Integer getCategId() {
        return categId;
    }

    public void setCategId(Integer categId) {
        this.categId = categId;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
